<template>
    <header>
        <div>
            <h1 style="margin-top: -10px;color: #425049;font-size:30px; ">Vue-Cesium项目</h1>
        </div>
        <div class="demo-basic--circle">
            <div class="block">
                <el-avatar :size="40" :src="avatar" :class="['avatar-info']">
                </el-avatar>
            </div>
        </div>

    </header>
</template>
<script>
export default {
    name: 'Header',
    components: {

    },
    mixins: [],
    props: {

    },
    data() {
        return {
            avatar: "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png"
            // avatar: require('@/assets/images/index.jpg')
        }
    },
    computed: {

    },
    watch: {

    },
    mounted() {

    },
    methods: {

    }
};
</script>
<style  scoped>
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

.el-aside {
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
    line-height: 200px;
}

.el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: center;

}

body>.el-container {
    margin-bottom: 40px;
}

/*设定头像图片样式*/
.avatar-info {
    margin-top: 10px;
    margin-right: 10px;
    cursor: pointer;
}
</style>